@font-face {
    font-family: 'RTWSYueGoTrial-Light';
    src: url('../fonts/RTWSYueGoTrial-Light.otf');
    font-weight: normal;
    font-style: normal;
}
html, body{
    margin: 0;
    padding: 0;
    font-family: 'RTWSYueGoTrial-Light', monaco, consolas, 'Microsoft Yahei';
}

#_navbar{
    padding-top: 1em;
}

#_content{
    margin-top: 2.5em;
}

#_footer{
    margin: 4em 0 1em 0;
}

.text{
    line-height: 2;
}
.text h1, .text h1, .text h3, .text h4, .text h5{
    margin-top: 2em;
    margin-bottom: 1em;
}
.info{
    margin-top: 2em;
    margin-bottom: -1em;
    text-align: center;
    color: #777;
}

.info .date, .info .date, .info .author{
    padding: 0 1em;
}
.info .date .fa, .info .category .fa, .info .author .fa{
    margin-right: 0.5em;
}


.list-group-item small {
    margin-left: 1em;
}


/* dropdwon hover open */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; // remove the gap so it doesn't close
}

/* table radius */
.table-curved {
    border-collapse: separate;
}
.table-curved {
    border: solid #ccc 1px;
    border-radius: 4px;
    border-left:0px;
}
.table-curved td, .table-curved th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
.table-curved th {
    border-top: none;
}
.table-curved th:first-child {
    border-radius: 4px 0 0 0;
}
.table-curved th:last-child {
    border-radius: 0 4px 0 0;
}
.table-curved th:only-child{
    border-radius: 4px 4px 0 0;
}
.table-curved tr:last-child td:first-child {
    border-radius: 0 0 0 4px;
}
.table-curved tr:last-child td:last-child {
    border-radius: 0 0 4px 0;
}

table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable td:first-child {
    border-left-width: 1px;
}
